package org.androidpn.model;

import java.io.Serializable;
import java.util.Date;

import android.graphics.Bitmap;


/**
 * 聊天列表
 */
public class CTalkMessage implements Serializable{
	private Long id;

//	// 对应CTalkLis的id
//	@Column(name = "talk_id", nullable = false)
//	private int talk_id;

	// 发送者手机号
	private String sender_telephone;

	// 接收者手机号
	private String receiver_telephone;

	// 消息类型（0：文字 1：图片 2：语音）
	private int message_type;

	private String message_content;

	// 消息发送时间
	private Date send_time = new Date();

	// 发送状态（0：未发送， 1：已发送）
	private int send_status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

//	public int getTalk_id() {
//		return talk_id;
//	}
//
//	public void setTalk_id(int talk_id) {
//		this.talk_id = talk_id;
//	}

	public String getSender_telephone() {
		return sender_telephone;
	}

	public void setSender_telephone(String sender_telephone) {
		this.sender_telephone = sender_telephone;
	}

	public String getReceiver_telephone() {
		return receiver_telephone;
	}

	public void setReceiver_telephone(String receiver_telephone) {
		this.receiver_telephone = receiver_telephone;
	}

	public int getMessage_type() {
		return message_type;
	}

	public void setMessage_type(int message_type) {
		this.message_type = message_type;
	}

	public String getMessage_content() {
		return message_content;
	}

	public void setMessage_content(String message_content) {
		this.message_content = message_content;
	}

	public Date getSend_time() {
		return send_time;
	}

	public void setSend_time(Date send_time) {
		this.send_time = send_time;
	}

	public int getSend_status() {
		return send_status;
	}

	public void setSend_status(int send_status) {
		this.send_status = send_status;
	}
	public boolean isLocaldata=false;
}